!function () {
    var inviteFriendsCode = window.WEBBASE.extend({
        init: function () {//初始化
            this.qrcodeInit();
        },
        events: {},
        /**
         * 二维码初始化
         */
        qrcodeInit: function () {
            var getInvitePhone = Tools.getQueryString('invitePhone'),
                lastInvitePhone = getInvitePhone ? '?invitePhone=' + getInvitePhone : '';
            $('#J_ft-code-input').qrcode({
                width: 140,
                height: 140,
                text: "http://www.muzhubao.com.cn/invite/pages/invitation_to_register.html" + lastInvitePhone
            })
        }
    });

    inviteFriendsCode.init();
}();